package cn.itcast.session;

import java.io.Serializable;

public class CartItem implements Serializable {
    private static final long serialVersionUID = 1L;
    private shop shop;
    private int quantity;

    public CartItem(shop shop, int quantity) {
        this.shop = shop;
        this.quantity = quantity;
    }

    public shop getCake() {
        return shop;
    }

    public void setCake(shop shop) {
        this.shop = shop;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }
}